package com.keosimage.common;

import java.util.ResourceBundle;

public class KeosImageConfig {

	protected static ResourceBundle bundle=ResourceBundle.getBundle("config");

	private KeosImageConfig() {
	}
	
	public static String SinaOauthBaseUrl(){
		return getvalue("sina.oauth.baseurl");
	}
	
	public static String SinaOauthClientid(){
		return getvalue("sina.oauth.clientid");
	}
	
	public static String SinaOauthRedirectUri(){
		return getvalue("sina.oauth.redirect_uri");
	}
	
	public static String SinaOauthResponseType(){
		return getvalue("sina.oauth.response_type");
	}
	
	public static String SinaOauthState(){
		return getvalue("sina.oauth.state");
	}

	public static String SinaOauthDisplay(){
		return getvalue("sina.oauth.display");
	}
	
	public static String SinaOauthForcelogin(){
		return getvalue("sina.oauth.forcelogin");
	}
	
	public static String SinaOauthLanguage(){
		return getvalue("sina.oauth.language");
	}
			
	private static String getvalue(String key){
		return bundle.getString(key);
	}
}
